package com.project.service;

import com.project.entity.RecruitInfo;

import java.util.List;

/**
 * Created by hasee on 2017/4/7.
 */
public interface RecruitInfoService {
    /**
     * author: wheelchen
     * date: 2017-4-17
     * function: 创建招聘信息
     * @param recruitInfo
     * @return 
     */
    public int add(RecruitInfo recruitInfo);
    /**
     * author: wheelchen
     * date: 2017-5-24
     * function: 根据id删除招聘信息
     * @param id
     * @return
     */
    public int remove(Integer id);
    public RecruitInfo findRecruitInfoById(int id);
    public int modifyRecruitInfoById(RecruitInfo recruitInfo);
    List<RecruitInfo> findAll();

    /**
     * author: wheelchen
     * date: 2017-5-8
     * function: 按照条件查询招聘信息
     * @param recruitInfo
     * @return
     */
    List<RecruitInfo> findByCondition(RecruitInfo recruitInfo);

}
